package com.yanqu.road.entity.unionwar;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.player.UserBaseInfo;

import java.util.List;

public class CrossUnionGuessData extends DataObject {
    private int activityId;
    private int stage;
    private long serverId;
    private long userId;
    private List<String> unionUid;
    private long syncTime;
    private UserBaseInfo userBaseInfo;
    private int groupId;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getStage() {
        return stage;
    }

    public void setStage(int stage) {
        this.stage = stage;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public List<String> getUnionUid() {
        return unionUid;
    }

    public void setUnionUid(List<String> unionUid) {
        this.unionUid = unionUid;
        setUpdateOption();
    }

    public long getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(long syncTime) {
        if (this.syncTime != syncTime) {
            this.syncTime = syncTime;
            setUpdateOption();
        }
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
        setUpdateOption();
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }
}
